Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed two bugs #154

Merged
merged 2 commits into from Mar 21, 2012
Merged

Fixed two bugs #154

merged 2 commits into from Mar 21, 2012

Conversation

sirudog
Copy link
Contributor

@sirudog sirudog commented Mar 18, 2012

Hi,

I was integrating videojs player to my drupal site, and found these small bugs which caused the following problems:

  • flash-fallback could not pick up sources from
  • the code could not completely remove the tags after processing them, because the loop was based on a dynamically changing condition, making it end prematurely (before it could remove all the source tags from video tag)

Please review these changes.
Thanks

"j.length" changed in each loop step, causing source/track nodes being left in DOM.
…Name comparison case-insensitive.

It caused the issue of flash-fallback not being able to discover the source of the video and embed it into flashvars.
@heff
Copy link
Member

heff commented Mar 19, 2012

Commented on the second.

heff added a commit that referenced this pull request Mar 21, 2012
Fixed two bugs: Removing sources with changing source count. Checking element nodeName, IE doesn't force uppercase.
@heff heff merged commit 43fc61f into videojs:master Mar 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants